@charset "utf-8";
/*变量和方法*/

$main-color:#0f9ceb;
$sub-font-color:#666;
$font-color:#333;
$bd-color:#999;
$sub-color:#999;
$gray-color:#dddddd;
$border-color:#e5e5e5;
$approval-color:#00d3d3;
$bg-color:#F4F4F4;
$browser-default-font-size: 2 !default;
$danger-color:red;
$font-size: 14px !default;
$font-size-16: 16px !default;
$step-color:#999;
$select-color:#33ccff;
$filter-btn-color:#e6f6fc;

@function px2rem($num){
  @return $num/$browser-default-font-size * 1px;
}

@function pxrem($num){
  @return $num * 1px;
}

/*点击效果*/
@mixin active(){
  &:active {
    opacity:.6;
  }
}
/*去边框*/
@mixin _noborder(){
  box-shadow:none;
}
@mixin noborder(){
  border:none;outline:none;
  @include _noborder;
  &:active,&:focus,&:active {
    border:none;outline:none;
    @include _noborder;
  }
}

/*垂直居中*/
@mixin vMiddle() {
  position:absolute;
  top:50%;transform:translateY(-50%);
}
